<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="baseUrl" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>更新商户信息</title>
<link type="text/css" rel="stylesheet" href="${baseUrl }/css/style.css" />
</head>
<body>
	<div class="main">
		<div class="optitle clearfix">
			<div class="title">供应商管理&gt;&gt;</div>
		</div>
		<form id="form1" name="form1" method="post" action="${baseUrl }/ProviderController/addProvider"
			onsubmit="return checkit();">
			<div class="content">
					<table class="box">
						<tbody>
							<tr>
								<td class="field">供应商编号：</td>
								<td><input name="id" id="textfield" class="text"
									type="text" value="${provider.id}" /> <font color="red">*</font></td>
							</tr>
							<tr>
								<td class="field">供应商名称：</td>
								<td><input name="name" id="textfield2"class="text" 
								type="text" value="${provider.name}"/> <font color="red">*</font></td>

							</tr>
							<tr>
								<td class="field">供应商描述：</td>
								<td><textarea name="desc" id="textarea" cols="45"
										rows="5">${provider.desc}</textarea></td>
							</tr>
							<tr>
								<td class="field">供应商联系：</td>

								<td><input name="contact" id="textfield2" value="${provider.contact}"
									class="text" type="text"/></td>
							</tr>
							<tr>
								<td class="field">供应商电话：</td>
								<td><input name="phone" id="textfield2" value="${provider.phone}"
									class="text" type="text"/></td>
							</tr>
							<tr>
								<td class="field">供应商传真：</td>

								<td><input name="fax" id="textfield2" value="${provider.fax}" class="text"
									type="text"/></td>
							</tr>
							<tr>
								<td class="field">供应商地址：</td>
								<td><input name="address" id="textfield2" value="${provider.address}"
									class="text" type="text"/></td>
							</tr>
						</tbody>
					</table>
			</div>

			<div class="buttons">
				<input name="button" id="button" value="提交" class="input-button"
					type="submit"/> 
					<input name="button" id="button"
					onclick="window.history.go(-1)" value="返回"
					class="input-button" type="button"/>
			</div>
		</form>
	</div>
</body>
</html>
